<template>
	<!-- 页脚组件 -->
	<view class="white-footer-font text-sm text-base text-center mb-6 mt-10">
		<view class="white-footer-font text-center flex justify-center">
			<view class="">本站由uniapp+unicloud(clientDB)搭建</view>
			<t-btn color="primary" size="ml-3 mr-1 w-12 p-0 h-4 text-xs text-base" @click="changeTheme('theme-blue')">
				切换主题
			</t-btn>
		</view>
		<view class="mt-1 white-footer-font">
			<uni-link class="m-1" href="https://www.uniapper.com">Uniapper.com</uni-link>|
			<uni-link class="m-1" href="https://ext.dcloud.net.cn/plugin?id=7123">插件地址</uni-link>|
			<uni-link class="m-1" href="https://gitee.com/uniapps/uniapper-music">码云仓库</uni-link>|
			<uni-link class="m-1" href="https://gitee.com/uniapps/uniapper-music/blob/master/changelog.md">更新日志
			</uni-link>|
			感谢<uni-link class="m-1" href="https://dishait.gitee.io/tob-ui-doc/">tob-ui</uni-link>支持
		</view>
	</view>
</template>

<script>
	export default {
		name: "my-footer",
		data() {
			return {

			};
		},
		methods: {
			changeTheme(newTheme) {
				this.$store.commit("changeTheme", newTheme)
			}
		},
		mounted() {}
	}
</script>

<style>
</style>
